@import '~@/styles/mixins.less';
@import '~@/styles/theme.less';

ol,
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h2,
p {
  margin-bottom: 0;
}

// ------- 限制页面的最小宽度 ------
#root {
  min-width: 1440px;
}

// ----------- flex -----------

.flex {
  display: flex;
}

.flex_c {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex_sb {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flex_sa {
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.flex_tbc {
  display: flex;
  align-items: center;
}

.flex_end {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.flex_auto {
  flex: 0 0 auto;
}

.flex_grow {
  flex: 1 1 auto;
}

.grid_c {
  display: grid;
  place-items: center;
}

// ----------- font -----------

.pos-font-size-base {
  #fontFn(@font-size-sm);
}

// ----------- color -----------



// ----------- loading -----------
.my-loading_hide {
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  visibility: hidden;
}

.my-loading_show {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  visibility: visible;
}

.my-loading_show-hide-mask {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  visibility: visible;
}

// ----------- 其他 -----------
.border-top-bototm {
    #border-content-top;
    #border-content-bottom;
  }